package com.hzp.micromall.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzp.micromall.admin.entity.UmsResource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author houzipeng
 * @Date 2022/2/24 22:55
 * @Version 1.0
 */
@Mapper
public interface UmsResourceDao extends BaseMapper<UmsResource> {
    /**
     * 根据角色ID获取资源
     */
    List<UmsResource> getResourceListByRoleId(@Param("roleId") Long roleId);
}
